/*每个页面公共css */
page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #f7f7f7;
}

view,
scroll-view {
  box-sizing: border-box;
}

// 带有背景的页面
.view-bg {
  //height: 100%;
  background: url('@/assets/images/bg.png') no-repeat;
  background-size: contain;
  //background-position: 100% -calc(-$uni-padding-top + 44px);
  background-attachment: fixed;

  &:before {
    content: '';
    display: block;
    width: 100%;
    /* #ifdef WEB */
    height: 0;
    /* #endif */
    /* #ifndef WEB */
    height: calc($uni-padding-top + 44px);
    /* #endif */
  }
}

/* 针对特定元素隐藏滚动条 */
::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
